package com.day0009;

public class Duck extends Poultry{
    public Duck() {
    }

    public Duck(String name, String symptom, int age, String illness) {
        super(name, symptom, age, illness);
    }

    //展现症状
    @Override
    public void showSymptom() {
        System.out.println("症状:"+getSymptom());
    }
}
